<?php

class Soul_Request_Result_Error extends Soul_Request_Result_Base {

    private $_message = NULL;
    
    public function getMessage(){
    	return $this->_message;
    }
    
    public function setMessage($value){
    	$this->_message = $value;
    }

    public function execute() {
		Soul_Web_Factory::getSession()->set('error_message', $this->getMessage());
        Soul_Web_Factory::getResponse()->redirect(Soul_Web_Factory::getRouter()->buildActionUrl(NULL, 'index', 'index', 'error'));
    }
}